
app:registClass("CrossServerController", "app.crossServer.controllers.CrossServerController")

app:registInst(app:getClass("CrossServerController").new({type="systemUI"}))


------------------------ 跨服公会战 Start -----------------------------
app.session:on("pb_world.S2C_WorldGuildWarNotify", function(msg)
    -- dump(msg, "S2C_QueryRecastMaster")
    -- print("S2C_WorldGuildWarNotify ", rawget(msg, "status"))
    UD.csGuildWarData:setOpenStatus(rawget(msg, "status") or 0)
    
end)